﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<%@ Import Namespace="ThietBiSo.LinQDB" %>
<%@ Import Namespace="ThietBiSo.Models" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    <%: ViewData["title"]%>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <%     
       
        SanPham sp = (SanPham)ViewData["chitiets"];     
       
    %>
   
  
    <div class="ptvbotron_ct">
        <div class="ptvhead_title">
            <h1>
                Chi tiết sản phẩm
                <img alt="" src="../../Content/images/img/BoxRight/menu_plus.png" style="margin: 0 10px 0 10px" />
                <%:sp.TenSP %>
            </h1>
        </div>
      <%--  <div style="float: left; margin-top: 20px; margin-left: 20px;">
            <%if (sp.HinhAnh == "" || sp.HinhAnh == null || sp.HinhAnh == "noImage")
              {%>
            <img src="<%:Url.Content("~/Content/images/nophoto.gif")%>" alt="" width="245x" height="300" />
            <%}
              else
              { %>
            <img class="ptvsp" src="<%: sp.HinhAnh%>" width="245"height="300" title="<%:sp.TenSP %>" alt="<%:sp.TenSP %>" />
            <%} %>
        </div>--%>       
      
        <div style="padding-left: 5px; font-family: Arial,Helvetica,sans-serif; font-size: 12px;
            text-align: justify; margin-bottom: 20px; margin-top: 20px; margin-left: 10px;
            margin-right: 10px; float: left">
            <%=System.Net.WebUtility.HtmlDecode(sp.ChiTiet)%>
        </div>
     
        <div class="ptvclear">
        </div>
    </div>
</asp:Content>
